<script type="text/html" template  lay-done="layui.data.done(d);">
    <table class="layui-table layui-form" lay-filter="LAY-app-WeChatMessageResponse-detailsForm" id="LAY-app-WeChatMessageResponse-detailsForm">
        <colgroup>
            <col width="100">
            <col>
        </colgroup>
        <tbody>
		    
		    <tr>
                <td>
                    <label for="id">序列</label>
                </td>
                <td>
                    {{ d.params.data.id || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="messageRule">消息类型</label>
                </td>
                <td>
                    {{ d.params.data.messageRule || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="category">分类</label>
                </td>
                <td>
                    {{ d.params.data.category || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="matchKey">匹配字符</label>
                </td>
                <td>
                    {{ d.params.data.matchKey || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="textContent">文本回复内容</label>
                </td>
                <td>
                    {{ d.params.data.textContent || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="imgTextContext">图片回复内容</label>
                </td>
                <td>
                    {{ d.params.data.imgTextContext || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="imgTextUrl">图片回复图片地址</label>
                </td>
                <td>
                    {{ d.params.data.imgTextUrl || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="imgTextLink">图片回复超链接</label>
                </td>
                <td>
                    {{ d.params.data.imgTextLink || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="meidaUrl">语音回复地址</label>
                </td>
                <td>
                    {{ d.params.data.meidaUrl || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="meidaLink">语音回复超链接</label>
                </td>
                <td>
                    {{ d.params.data.meidaLink || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="enable">是否启用</label>
                </td>
                <td>
                    <input type="checkbox" disabled name="enable" value="{{d.params.data.enable}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="enable" {{ d.params.data.enable ? 'checked' : '' }}>
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="isDefault">是否默认</label>
                </td>
                <td>
                    <input type="checkbox" disabled name="isDefault" value="{{d.params.data.isDefault}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="isDefault" {{ d.params.data.isDefault ? 'checked' : '' }}>
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="remark">备注</label>
                </td>
                <td>
                    {{ d.params.data.remark || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="sort">排序</label>
                </td>
                <td>
                    {{ d.params.data.sort || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="createTime">创建时间</label>
                </td>
                <td>
                    {{ d.params.data.createTime || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="createBy">创建来源</label>
                </td>
                <td>
                    {{ d.params.data.createBy || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="modifyTime">修改时间</label>
                </td>
                <td>
                    {{ d.params.data.modifyTime || '' }}
                </td>
            </tr>
		    
		    <tr>
                <td>
                    <label for="modifyBy">修改来源</label>
                </td>
                <td>
                    {{ d.params.data.modifyBy || '' }}
                </td>
            </tr>
		    
        </tbody>
    </table>
</script>
<script>
    var debug= layui.setter.debug;
    layui.data.done = function (d) {
        //开启调试情况下获取接口赋值数据
        if (debug) { console.log(d.params.data); }

        layui.use(['admin', 'form', 'coreHelper'], function () {
            var $ = layui.$
                , setter = layui.setter
                , admin = layui.admin
                , coreHelper = layui.coreHelper
                , form = layui.form;
            form.render(null, 'LAY-app-WeChatMessageResponse-detailsForm');
        });
    };
</script>